package com.sumainfor.pc.market.fallback.ZfallBack;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.market.feign.Zfeign.ZpcEpcFeign;
import org.springframework.stereotype.Component;

import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * 调用工程部服务
 */
@Component
public class ZpcEpcFallback implements ZpcEpcFeign {
    @Override
    public JsonResult getShopNameAndIconByIds(List<String> ids) {
        return JsonResult.error("服务器繁忙.");
    }

    @Override
    public JsonResult updateIfCheckStateaHo(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙.");
    }

    @Override
    public JsonResult getRepHouList() {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult selectConfigInfoByConfigId(String configId) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult selectComIdArrayByConIdList(Collection<String> ids) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHoPlanAlterList(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHoSeInteConList(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHoRdHouList(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHoRdHpiList(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHoRdInteDeviceHouList(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHoRdCensusInteDeviceList(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }

    @Override
    public JsonResult getHoRdWorder(Map<String, Object> params) {
        return JsonResult.error("服务器繁忙...");
    }
}
